#ifndef router_h
#define router_h

#include <stdint.h>

#include "device.h"

int32_t router_add(const device *device);
int32_t router_subscribe(const device *device, const char *topic);
// remove unsubscirbe unpublish

void *router_task(void *pv);

#endif